package com.cq.digitalemployee.shiro.token.service;

import com.cq.digitalemployee.shiro.token.TokenEntity;

import javax.servlet.http.HttpServletRequest;

/**
 * token操作服务类
 *
 * @author zzz
 */
public interface TokenService {

    TokenEntity createToken(String userId);

    TokenEntity getToken(String token);

    TokenEntity getToken(HttpServletRequest request);

    void getTokenByUser(String userId);

}
